﻿
using Xacml.Core.Policy;
using Xacml.Core.Runtime;
using System.Xml;

namespace Xacml.Core.Interfaces
{
  public interface IPolicyRepository
  {
    void Init(XmlNode configNode);

    PolicyElement GetPolicy(PolicyIdReferenceElement policyReference);

    PolicySetElement GetPolicySet(PolicySetIdReferenceElement policySetReference);

    PolicyDocument Match(EvaluationContext context);
  }
}
